home *** CD-ROM | disk | FTP | other *** search
/ Floppyshop 2 / Floppyshop - 2.zip / Floppyshop - 2.iso / diskmags / 4671-5.790 / dmg-5655 / worm.txt < prev    next >
Text File  |  1996-06-07  |  1KB  |  41 lines

  1.                            THE THIRD DIMENSION
  2.  
  3. WORM OBJECT TUTORIAL USING SETXSIZE COMMAND
  4. -------------------------------------------
  5.  
  6. This tutorial shows you how to create an expanding/shrinking
  7. cube that could be used in various games to great effect.
  8.     You should see a cube grow,shrink and repeat the action
  9. again. With a bit of imagination and programming, you should
  10. be able to create people that turn into giants, extending
  11. platforms, spikes that grow, rising rivers, crushing walls 
  12. and many more useful ideas.
  13.  
  14. As an example take a look at the Worm.3WD kit 2 file provided.
  15.  
  16. Here is a quick tutorial to show the effect.
  17.  
  18. Create a cube in a new area and then make it moveable (MOV) via its
  19. object attributes button (fourth icon along the bottom from the 
  20. left ).
  21.  
  22. Now create a General condition,edit it and load in the GenCond.txt.
  23. Next create 2 Local/area conditions,edit them and then load in to
  24. each one a LocCond.txt file.Place LocCond1.txt in local condition
  25. 1 and LocCond2.txt in local condition 2.
  26.  
  27. Now Reset the area (far right icon) and watch the cube expand and 
  28. shrink.
  29.  
  30. The SETXSIZE commands parameters refer to the new size,object number
  31. and area number.So this example means -   SETXSIZE (V30,3,1)
  32. - the setxsize command will size the object using the information
  33. taken from variable V30 and apply it to object 3 in area 1.
  34.  
  35. You can also use the SETYSIZE AND SETZSIZE commands to expand or
  36. shrink objects in other directions.
  37.  
  38.  
  39. Next try it out in your own creations.
  40.  
  41. Tony